<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
	<Source>
		<Name>ffmpegthumbnailer</Name>
		<Homepage>https://github.com/dirkvdb/ffmpegthumbnailer</Homepage>
		<Packager>
			<Name>PisiLinux Community</Name>
			<Email>admins@pisilinux.org</Email>
		</Packager>
		<License>GPLv2</License>
		<Summary>
			Lightweight video thumbnailer that can be used by file managers to create thumbnails for video files.
		</Summary>
		<Description>
			FFmpegthumbnailer is a lightweight video thumbnailer that can be used by file managers to create thumbnails for your video files. The thumbnailer uses ffmpeg to decode frames from the video files, so supported videoformats depend on the configuration flags of ffmpeg.
		</Description>
		<Archive sha1sum="b17350070794f5a1e40d18a9f403d9c5d77da14b" type="tarbz2">
			https://github.com/dirkvdb/ffmpegthumbnailer/releases/download/2.2.2/ffmpegthumbnailer-2.2.2.tar.bz2
		</Archive>
		<BuildDependencies>
			<Dependency>libjpeg-turbo-devel</Dependency>
			<Dependency>ffmpeg-devel</Dependency>
			<Dependency>libpng-devel</Dependency>
			<Dependency>zlib-devel</Dependency>
			<Dependency>cmake</Dependency>
		</BuildDependencies>
		<Patches>
			<Patch level="1">Ffmpeg.patch</Patch>
			<Patch level="1">Constify_AVCodec.patch</Patch>
		</Patches>
	</Source>

	<Package>
		<Name>ffmpegthumbnailer</Name>
		<RuntimeDependencies>
			<Dependency>libjpeg-turbo</Dependency>
			<Dependency>ffmpeg</Dependency>
			<Dependency>libgcc</Dependency>
			<Dependency>libpng</Dependency>
		</RuntimeDependencies>
		<Files>
			<Path fileType="executable">/usr/bin</Path>
			<Path fileType="library">/usr/lib</Path>
			<Path fileType="data">/usr/share</Path>
			<Path fileType="man">/usr/share/man</Path>
			<Path fileType="doc">/usr/share/doc</Path>
		</Files>
	</Package>

	<Package>
		<Name>ffmpegthumbnailer-devel</Name>
		<Summary>Development files for ffmpegthumbnailer</Summary>
		<RuntimeDependencies>
			<Dependency release="current">ffmpegthumbnailer</Dependency>
		</RuntimeDependencies>
		<Files>
			<Path fileType="header">/usr/include</Path>
			<Path fileType="data">/usr/lib/pkgconfig</Path>
		</Files>
	</Package>

	<History>
		<Update release="1">
			<Date>2020-12-06</Date>
			<Version>2.2.2</Version>
			<Comment>First Beta release.</Comment>
			<Name>fury</Name>
			<Email>uglyside@yandex.ru</Email>
		</Update>
	</History>
</PISI>
